package oop_homework_3;

import java.util.Scanner;

public class SquareDemo {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		System.out.println("请输入正方形边长：");
		double a = input.nextDouble();
		Square square = new Square(a);
		System.out.println("正方形面积是："+square.area());
	}
}
